//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.jim.core.packets;

import org.jim.core.ImStatus;
import org.jim.core.Status;

public class ExitGroupRespBody extends RespBody {
    private static final long serialVersionUID = 3680734574052114902L;
    private String userId;
    private String groupId;

    public ExitGroupRespBody(Status status) {
        super(Command.COMMAND_EXIT_GROUP_RESP, status);
    }

    public ExitGroupRespBody(Command command, Status status) {
        super(command, status);
    }

    public String getUserId() {
        return this.userId;
    }

    public ExitGroupRespBody setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getGroupId() {
        return this.groupId;
    }

    public ExitGroupRespBody setGroupId(String groupId) {
        this.groupId = groupId;
        return this;
    }

    public static ExitGroupRespBody success() {
        return new ExitGroupRespBody(ImStatus.C10032);
    }

    public static ExitGroupRespBody failed() {
        return new ExitGroupRespBody(ImStatus.C10033);
    }
}
